﻿@model IEnumerable<string>
@{
    ViewBag.Title = "Index";
}



@using (Html.BeginForm("Start",null,FormMethod.Post)) {

<div class="gamewindow">
    <div class="title">Start a game</div>
    <div class="info">
        <div>Select you nickname:</div>
        <div style="margin-left:10px">
            <input type="text" name="username" />
        </div>
    
    
    
    <div>Select game type:</div>
    <div style="margin-left:10px">
        @foreach (var type in Model) {       
            <div>
                <input type="radio" name="type" value="@type" style="width:auto" checked="checked" />@type            
            </div>                                                                                                            
        }
    </div>
    </div>
    <div class="content">
        <input type="submit" value="Start" />
    </div>

</div>
    
}
    
    
    
   